using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN XepLoaiPhoThongService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: XepLoaiPhoThongService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class XepLoaiPhoThongService : IXepLoaiPhoThongService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: XepLoaiPT_ID</para>
		/// <para>Output: XepLoaiPhoThongEntity</para>
		///</summary>
		public XepLoaiPhoThongEntity SelectOne(int XepLoaiPT_ID){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.SelectOne(XepLoaiPT_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMaXepLoaiPT</para>
		/// <para>Input: MaXepLoaiPT</para>
		/// <para>Output: XepLoaiPhoThongEntity</para>
		///</summary>
		public XepLoaiPhoThongEntity SelectOneByMaXepLoaiPT(string MaXepLoaiPT){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.SelectOneByMaXepLoaiPT(MaXepLoaiPT);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of XepLoaiPhoThongEntity</para>
		///</summary>
		public List<XepLoaiPhoThongEntity> SelectAll(){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of XepLoaiPhoThongEntity</para>
		///</summary>
		public List<XepLoaiPhoThongEntity> SelectAllFilter(string strFilter){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: XepLoaiPhoThongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(XepLoaiPhoThongEntity o){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: XepLoaiPhoThongEntity</para>
		/// <para>Output: XepLoaiPhoThongEntity</para>
		///</summary>
		public XepLoaiPhoThongEntity SaveRet(XepLoaiPhoThongEntity o){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of XepLoaiPhoThongEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<XepLoaiPhoThongEntity> list){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of XepLoaiPhoThongEntity</para>
		/// <para>Output: List of XepLoaiPhoThongEntity</para>
		///</summary>
		public List<XepLoaiPhoThongEntity> SaveListRet(List<XepLoaiPhoThongEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: XepLoaiPhoThongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(XepLoaiPhoThongEntity o){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of XepLoaiPhoThongEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<XepLoaiPhoThongEntity> list){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMaXepLoaiPT</para>
		/// <para>Input: NewMaXepLoaiPT,XepLoaiPT_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMaXepLoaiPT(string NewMaXepLoaiPT,int XepLoaiPT_ID){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.UpdateMaXepLoaiPT(NewMaXepLoaiPT,XepLoaiPT_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTenXepLoaiPT</para>
		/// <para>Input: NewTenXepLoaiPT,XepLoaiPT_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTenXepLoaiPT(string NewTenXepLoaiPT,int XepLoaiPT_ID){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.UpdateTenXepLoaiPT(NewTenXepLoaiPT,XepLoaiPT_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMoTaXepLoaiPT</para>
		/// <para>Input: NewMoTaXepLoaiPT,XepLoaiPT_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMoTaXepLoaiPT(string NewMoTaXepLoaiPT,int XepLoaiPT_ID){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.UpdateMoTaXepLoaiPT(NewMoTaXepLoaiPT,XepLoaiPT_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: XepLoaiPhoThongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(XepLoaiPhoThongEntity o){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: XepLoaiPT_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int XepLoaiPT_ID){
			XepLoaiPhoThongDAO dao = new XepLoaiPhoThongDAO();
			return dao.DeleteByID(XepLoaiPT_ID);
		}
		#endregion

		#region Select,delete by XepLoaiPT_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END XepLoaiPhoThongWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

